From: Jim Blandy Date: Sun, 23 May 1993 04:42:11 +0000 (+0000) Subject: * configure.in: Implement the --prefix option. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~96086 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=8d467c70c0184c34868cf95ab260f5a5b524ecfa;p=emacs.git * configure.in: Implement the --prefix option. * Makefile.in (prefix): Add support for it here. * Makefile.in (install): Don't assume that the files in the `info' subdirectory match *.info. They don't have that prefix. --- diff --git a/Makefile.in b/Makefile.in index 3edbf80b764..ca87fb33f87 100644 --- a/Makefile.in +++ b/Makefile.in @@ -61,8 +61,8 @@ libsrc_libs=@libsrc_libs@ # The default location for installation. Everything is placed in # subdirectories of this directory. The default values for many of # the variables below are expressed in terms of this one, so you may -# not need to change them. -prefix=/usr/local +# not need to change them. This defaults to /usr/local. +prefix=@prefix@ # Like `prefix', but used for architecture-specific files. exec_prefix=${prefix} @@ -341,11 +341,9 @@ install: all mkdir if [ ! -f ${infodir}/dir ] && [ -f dir ]; then \ ${INSTALL_DATA} dir ${infodir}/dir ; \ fi ; \ - if [ "`echo *.info*`" != "*.info*" ]; then \ - for f in *.info* ; do \ - ${INSTALL_DATA} $$f ${infodir}/$$f ; \ - done ; \ - fi) + for f in cl* emacs* forms* info* vip* ; do \ + ${INSTALL_DATA} $$f ${infodir}/$$f ; \ + done) cd ${srcdir}/etc; for page in emacs etags ctags ; do \ ${INSTALL_DATA} $${page}.1 ${mandir}/$${page}${manext} ; \ done